package com.gzgy.ustore.api.model;


import org.codehaus.jackson.annotate.JsonIgnore;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class OrgTreeList implements Serializable{

    private static final long serialVersionUID = -1332691880155596118L;

    private Integer id;

    private String orgId;

    private String name;

    private String treeCode;

    private String highOrg;

    private String orgType;

    private Boolean open  = false;

    private List<OrgTreeList> children;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTreeCode() {
        return treeCode;
    }

    public void setTreeCode(String treeCode) {
        this.treeCode = treeCode;
    }

    @JsonIgnore
    public String getHighOrg() {
        return highOrg;
    }

    public void setHighOrg(String highOrg) {
        this.highOrg = highOrg;
    }

    public List<OrgTreeList> getChildren() {
        return children ;
    }

    public void setChildren(List<OrgTreeList> children) {
        this.children = children;
    }

    public Boolean getOpen() {
        return open;
    }

    public void setOpen(Boolean open) {
        this.open = open;
    }

    public String getOrgType() {
        return orgType;
    }

    public void setOrgType(String orgType) {
        this.orgType = orgType;
    }
}
